package lhdx8;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, int age, int teachingAge, String gender, String giveLession){
        super(name,age,teachingAge,gender,giveLession);
    }
    public void print(){
        super.print();
        System.out.println(getGiveLession()+"老师用idea上课!");
    }

}
